import 'package:flutter/material.dart';
import 'detail_handler.dart';
import 'package:fluro/fluro.dart';

class Routes{
  static String root="/";
  static String detailsPage = '/detail';
  static void configureRoutes(Router router){
    router.notFoundHandler = Handler(
      handlerFunc: (context,params){
        print('ERROR=====>ROUTE WAS NOT FONUND');
        return null;
      }
    );
    router.define(detailsPage, handler: detailHandler);
  }
}